home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
DDJMAG
/
DDJ9310.ZIP
/
DFPP03.ZIP
/
DIALOG.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-09-24
|
970b
|
40 lines
// -------- dialog.h
#ifndef DIALOG_H
#define DIALOG_H
#include "dfwindow.h"
#include "desktop.h"
#include "control.h"
class Control;
class Dialog : public DFWindow {
Bool isRunning;
Bool okexit;
void OpenWindow();
friend Control;
void TestShortcut(int key);
protected:
Dialog(const char *ttl, int lf, int tp, int ht, int wd,
DFWindow *par = (DFWindow *)desktop.ApplWnd())
: DFWindow(ttl, lf, tp, ht, wd, par)
{ OpenWindow(); }
Dialog(const char *ttl, int ht, int wd,
DFWindow *par = (DFWindow *)desktop.ApplWnd())
: DFWindow(ttl, ht, wd, par)
{ OpenWindow(); }
virtual void CloseWindow();
virtual void Keyboard(int key);
virtual void OKFunction();
virtual void CancelFunction();
virtual void HelpFunction();
public:
virtual void Execute();
Bool OKExit() { return okexit; }
};
#endif